package com.xuxueli.applyModules.utils.testzipswager;
import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import lombok.Data;

import java.io.Serializable;

/**
 * SwaggerPropertieDTO
 */
@Data
@JsonInclude(Include.NON_NULL)
public class SwaggerPropertieDTO implements Serializable {

    private static final long serialVersionUID = -6333938694795250033L;

    /**
     * 参数类型：integer/string/boolean/object/array
     */
    private String type;

    /**
     * 描述
     */
    private String description;

    /**
     * 子参数
     */
    private JSONObject properties;

    /**
     * array -> items 代表什么数组 type:object
     */
    private SwaggerPropertieDTO items;

    private String format;
}
